Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce fromImage field in jib builder interface. #4873

Merged

Conversation

gsquared94
Copy link
Collaborator

@gsquared94 gsquared94 commented Oct 8, 2020

Related: #4713
This PR introduces fromImage as a property in the jib builder to override the configured base image.
It's required in the implementation of supporting artifact dependencies

@codecov
Copy link

codecov bot commented Oct 8, 2020

Codecov Report

Merging #4873 into master will increase coverage by 0.21%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4873      +/-   ##
==========================================
+ Coverage   71.86%   72.08%   +0.21%     
==========================================
  Files         356      358       +2     
  Lines       12218    12368     +150     
==========================================
+ Hits         8780     8915     +135     
- Misses       2786     2797      +11     
- Partials      652      656       +4     
Impacted Files Coverage Δ
pkg/skaffold/schema/latest/config.go 100.00% <ø> (ø)
pkg/skaffold/build/jib/gradle.go 100.00% <100.00%> (ø)
pkg/skaffold/build/jib/maven.go 100.00% <100.00%> (ø)
cmd/skaffold/app/cmd/build.go 80.00% <0.00%> (-9.19%) ⬇️
cmd/skaffold/app/cmd/dev.go 72.97% <0.00%> (-8.28%) ⬇️
pkg/skaffold/build/gcb/kaniko.go 77.77% <0.00%> (-4.58%) ⬇️
pkg/skaffold/build/local/prune.go 73.49% <0.00%> (-2.76%) ⬇️
pkg/skaffold/build/cluster/pod.go 86.56% <0.00%> (-1.01%) ⬇️
pkg/skaffold/docker/client.go 81.70% <0.00%> (ø)
pkg/skaffold/deploy/helm/helm.go 74.61% <0.00%> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35e2c1e...faf8679. Read the comment docs.

Copy link
Member

@briandealwis briandealwis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but let's get confirmation from the Jib team if they prefer baseImage or fromImage.

integration/examples/jib-sync/README.md Outdated Show resolved Hide resolved
pkg/skaffold/schema/latest/config.go Outdated Show resolved Hide resolved
gsquared94 and others added 2 commits October 15, 2020 13:49
@gsquared94 gsquared94 changed the title Introduce baseImage field in jib builder interface. Introduce fromImage field in jib builder interface. Oct 15, 2020
@gsquared94 gsquared94 merged commit 846b759 into GoogleContainerTools:master Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants